{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "73295cfe",
   "metadata": {},
   "source": [
    "# poi\n",
    "* 搜索服务API是一类简单的HTTP接口，提供多种查询POI信息的能力，其中包括关键字搜索、周边搜索、多边形搜索、ID查询四种筛选机制。\n",
    "* 在此接口之中，您可以通过city&citylimit参数指定希望搜索的城市或区县。而city参数能够接收citycode和adcode，citycode仅能精确到城市，而adcode却能够精确到区县。\n",
    "1. 关键词（keywords）\n",
    "2. 分类（types）规范（poi编码表 ）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "2aa5a64f",
   "metadata": {},
   "outputs": [],
   "source": [
    "#1. 调用request模块\n",
    "import requests\n",
    "# 2.GET\n",
    "#3. url\n",
    "geo_url=\"https://restapi.amap.com/v3/place/text?parameters\"\n",
    "#4.准备参数，用于交换数据payload\n",
    "payload={\n",
    "    \"key\":\"449f23befa872c7aff08a45b0a47bcdf\",\n",
    "    \"keywords\":\"美食\",\n",
    "   \"city\":\"广州\"\n",
    "}\n",
    "#5.发起请求\n",
    "r=requests.get(url=geo_url,params=payload)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "f23ed5ce",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<Response [200]>"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "r"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "71f974df",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'suggestion': {'keywords': [], 'cities': []},\n",
       " 'count': '895',\n",
       " 'infocode': '10000',\n",
       " 'pois': [{'parent': 'B00140UFF9',\n",
       "   'address': '东风中路268号交易广场首层112-113',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '23.00',\n",
       "    'opentime2': '周一至周五10:00-21:00,周六至周日10:00-22:00',\n",
       "    'rating': '4.3',\n",
       "    'open_time': '10:00-21:00 10:00-22:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2ad6fd1bec5a14a3c1f6f9a3527c5c33'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0a1775684dccc42baa063a7ae8b75390'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/fa95c3158050fe57157a311bfb9bfd9e'}],\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '越秀区',\n",
       "   'name': '赛百味(交易广场店)',\n",
       "   'location': '113.263146,23.131008',\n",
       "   'tel': '020-83320471',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140T179'},\n",
       "  {'parent': [],\n",
       "   'address': '越华路116号雅兰酒店旁(区政府对面)',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '75.00',\n",
       "    'opentime2': '10:00-21:30',\n",
       "    'rating': '4.5',\n",
       "    'open_time': '10:00-21:30',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;火锅店',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/eaafd2d27154b46329d7d2ca5d7d5152'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0c07d3de925fe6c258efc2f8f620974a'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/138176bebcff253d5dc959e541aaa094'}],\n",
       "   'typecode': '050117',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '越秀区',\n",
       "   'name': '牛一方潮汕牛肉(越华路店)',\n",
       "   'location': '113.266641,23.129317',\n",
       "   'tel': '020-83137330',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFHUOWI8'},\n",
       "  {'parent': 'B00140U1YX',\n",
       "   'address': '越华路112号珠江国际大厦4层',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '290.00',\n",
       "    'opentime2': '11:00-23:00',\n",
       "    'rating': '4.6',\n",
       "    'open_time': '11:00-23:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;综合酒楼',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/51fecd5e3c116b1226d5a6690cf2f705'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/16160e98c1da90ef02b2a49217928747'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/bc3054ee26e63378fa649f0ef34ddc51'}],\n",
       "   'typecode': '050101',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '越秀区',\n",
       "   'name': '龙庭琇厨(越华店)',\n",
       "   'location': '113.267539,23.129697',\n",
       "   'tel': '020-83033988;15875071112',\n",
       "   'shopid': [],\n",
       "   'id': 'B00141T32F'},\n",
       "  {'parent': 'B00140AG0N',\n",
       "   'address': '中山五路68号4层407-409、428-429、435-436',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '120.00',\n",
       "    'opentime2': '11:30-13:00；16:00-22:00',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '11:30-13:00 16:00-22:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;火锅店',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/15c29d90e0e1a66e7159571bd14712b6'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/58aac700f71be67434708b3ba03b739f'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/513de5881870476d9e5c9e943ff95ed6'}],\n",
       "   'typecode': '050117',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '201',\n",
       "   'adname': '越秀区',\n",
       "   'name': '大龙焱火锅(五月花商业广场店)',\n",
       "   'location': '113.266588,23.125785',\n",
       "   'tel': '020-83649595;020-83649696',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFGLLL9W'},\n",
       "  {'parent': [],\n",
       "   'address': '东风中路331号德源里1号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '40.00',\n",
       "    'opentime2': '10:00-21:30',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '10:00-21:30',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0c091432ab387ccc89083a0078166596'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/178f80742a3ade9971fccdeed4c4b7e8'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/55acb625a310a084c90f0704'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '越秀区',\n",
       "   'name': '胜安饭店',\n",
       "   'location': '113.269168,23.131421',\n",
       "   'tel': '020-83557870;15812496558',\n",
       "   'shopid': [],\n",
       "   'id': 'B0014021E7'},\n",
       "  {'parent': 'B0FFF0JR5W',\n",
       "   'address': '中山五路70号捷登都会5层L5001室',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '90.00',\n",
       "    'opentime2': '10:00-22:00',\n",
       "    'rating': '4.4',\n",
       "    'open_time': '10:00-22:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;云贵菜',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/598e336f3508eaa120a3b3fd72fe2080'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/00ecaeadf9e9db67b07e93e5d70d0f75'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0339f042e9afb157722190f67cac0c92'}],\n",
       "   'typecode': '050114',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '越秀区',\n",
       "   'name': '甘思咪哚云南艺术餐厅(越秀店)',\n",
       "   'location': '113.265922,23.125913',\n",
       "   'tel': '020-83700336',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFGIQZF4'},\n",
       "  {'parent': [],\n",
       "   'address': '越华路116号首层之六铺',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '17.00',\n",
       "    'opentime2': '00:00-24:00',\n",
       "    'rating': '4.4',\n",
       "    'open_time': '24小时营业',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;特色/地方风味餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/34d1d52a2eda931dabd55c3f1d8e4147'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/56c570f1a310218d5b5058b0'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/06c7ce25f55c5dcfe0f5873c34770a57'}],\n",
       "   'typecode': '050118',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '越秀区',\n",
       "   'name': '桂林米粉(越华路店)',\n",
       "   'location': '113.267043,23.129287',\n",
       "   'tel': '020-83305636;15260935402',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140JH28'},\n",
       "  {'parent': [],\n",
       "   'address': '百灵路86号(近市一医院)',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '15.00',\n",
       "    'opentime2': '06:30-23:00',\n",
       "    'rating': '4.7',\n",
       "    'open_time': '06:30-23:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/5de91a56b01dc1e6018a98dd1fa99bcf'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/dc80866e3a36f88105f32c26c4df1ccd'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1dafcd9dcaf41403cea1b84956e7cbd0'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '越秀区',\n",
       "   'name': '银记肠粉店(百灵店)',\n",
       "   'location': '113.260005,23.130781',\n",
       "   'tel': '020-83772441;13352880128;020-83510648',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140ASNP'},\n",
       "  {'parent': 'B0FFF0JR5W',\n",
       "   'address': '中山五路与吉祥路交汇处捷登都会4层(公元前站F站出口)',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '67.00',\n",
       "    'opentime2': '周一至周五10:00-21:30,周六至周日11:00-21:30',\n",
       "    'rating': '4.4',\n",
       "    'open_time': '10:00-21:30 11:00-21:30',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;外国餐厅;泰国/越南菜品餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2645707ecac8526b16f95efe3154c84f'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1764fe287f760d5171b49eb2e4109ad9'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1c51c71bf756ddc2a6b8517da5cc907c'}],\n",
       "   'typecode': '050206',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '越秀区',\n",
       "   'name': '新越盏(公园前捷登店)',\n",
       "   'location': '113.265748,23.125749',\n",
       "   'tel': '020-83524138',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFGE0EIS'},\n",
       "  {'parent': 'B001401F36',\n",
       "   'address': '六榕路143号105铺',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '15.00',\n",
       "    'opentime2': '06:30-15:30',\n",
       "    'rating': '4.2',\n",
       "    'open_time': '06:30-15:30',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/f03e654687474389195afcae27f16f56'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/569e3c936d6380af4a77d38cbf5d39c4'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/099fc3a043f89c86cf74554ba171b4db'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '3',\n",
       "   'adname': '越秀区',\n",
       "   'name': '味然香(六榕店)',\n",
       "   'location': '113.260445,23.130533',\n",
       "   'tel': '020-83362292',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140BQ75'},\n",
       "  {'parent': [],\n",
       "   'address': '六榕街',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '19.00',\n",
       "    'opentime2': '08:00-01:00',\n",
       "    'rating': '4.6',\n",
       "    'open_time': '08:00-01:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/a8c29855b3adaca0f951063ca81e1c8e'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/213b1802ca9169ff283240e6fca3433d'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/6e866d99a46404140a3787b0ef68491e'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '越秀区',\n",
       "   'name': '大可以肠粉店(六榕店)',\n",
       "   'location': '113.260630,23.127153',\n",
       "   'tel': '020-83308593;020-83309159',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140B9V0'},\n",
       "  {'parent': 'B0FFGFVZFB',\n",
       "   'address': '广大路24号首层',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '22.00',\n",
       "    'opentime2': '07:30-21:00',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '07:30-21:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/cf45db79cd452a65d310b2fd2bd03e4d'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0e266f80bede1e44d29f2e44bcdeeecf'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/00749fa1b3c59e022a823d475284052c'}],\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '324',\n",
       "   'adname': '越秀区',\n",
       "   'name': '都城快餐(广大路店)',\n",
       "   'location': '113.267729,23.126348',\n",
       "   'tel': '020-83336050;020-83341302',\n",
       "   'shopid': [],\n",
       "   'id': 'B00141RHE0'},\n",
       "  {'parent': 'B0FFF0JR5W',\n",
       "   'address': '中山五路70号捷登都会大厦四层4013单元',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '86.00',\n",
       "    'opentime2': '11:00-22:00',\n",
       "    'rating': '4.5',\n",
       "    'open_time': '11:00-22:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;外国餐厅;日本料理',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/abea4387f668f61e6c5f05ca0af0120e'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/01b5215c822bfa2ea148119e48a60428'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0feb3f8542a871d57e277305ab737be3'}],\n",
       "   'typecode': '050202',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '越秀区',\n",
       "   'name': '元气寿司(捷登广场店)',\n",
       "   'location': '113.266034,23.125642',\n",
       "   'tel': '020-37757856',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFGYU9KQ'},\n",
       "  {'parent': 'B00140AG0N',\n",
       "   'address': '中山五路68号五月花商业广场4楼',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '87.00',\n",
       "    'opentime2': '全年11:00-14:00；17:00-22:00',\n",
       "    'rating': '4.3',\n",
       "    'open_time': '11:00-14:00 17:00-22:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;外国餐厅;法式菜品餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/48a031fc27a6bb9b4c4499c1c0224dd8'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/04b56f9e802e269f0f995d7edea395db'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/06609b5c28e9bca5fbc246b579edb8bc'}],\n",
       "   'typecode': '050204',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '201',\n",
       "   'adname': '越秀区',\n",
       "   'name': '1928音乐餐厅(五月花商业广场店)',\n",
       "   'location': '113.266728,23.125756',\n",
       "   'tel': '020-83333810',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFF0FKTH'},\n",
       "  {'parent': [],\n",
       "   'address': '应元路78-80号富宏花园1-3层(原同甘同味)',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '78.00',\n",
       "    'opentime2': '09:00-22:00',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '09:00-22:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;综合酒楼',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/72cf66b083f2098690951b1834f60876'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0c8dc05a48feaef9f85febd2785850be'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0fb9a8f188112d2dbc6c7c838886fa6e'}],\n",
       "   'typecode': '050101',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '越秀区',\n",
       "   'name': '竹溪酒家(应元店)',\n",
       "   'location': '113.269340,23.134840',\n",
       "   'tel': '020-83566222;020-83566000',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFH6WDVR'},\n",
       "  {'parent': 'B00141UF3F',\n",
       "   'address': '盘福路22号泰峰大厦1层',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '51.00',\n",
       "    'opentime2': '07:30-16:00；17:00-21:00',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '07:30-16:00 17:00-21:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;广东菜(粤菜)',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9d8bbedc45b22e790160b7a32dffbb2f'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2c99a7272db25afdd42b181300924112'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/02f18fdb4820014b54cb6de9569ddc44'}],\n",
       "   'typecode': '050103',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '越秀区',\n",
       "   'name': '点都德(盘福楼店)',\n",
       "   'location': '113.259608,23.133921',\n",
       "   'tel': '020-83064428',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFH86PEO'},\n",
       "  {'parent': 'B00140UFEV',\n",
       "   'address': '公园前吉祥路1号广州动漫星城广场西区b1层',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '37.00',\n",
       "    'opentime2': [],\n",
       "    'rating': '4.3',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;快餐厅;大快活',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/e19342f034ad796f2366ee6df58d259a'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/069b8a6820acad7f9e83cc5036591aea'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/138f20ac8e01bf3403bcd83e3cd49dd7'}],\n",
       "   'typecode': '050307',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '302',\n",
       "   'adname': '越秀区',\n",
       "   'name': '大快活(动漫星城店)',\n",
       "   'location': '113.264995,23.125791',\n",
       "   'tel': '020-83335557;020-83338821',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140T9UB'},\n",
       "  {'parent': 'B0FFKRQH9L',\n",
       "   'address': '中山四路395号5楼501-503、505号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '110.00',\n",
       "    'opentime2': '09:00-07:00',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '09:00-07:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;火锅店',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/343b260bbb511d1ec007e63cd854dde8'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/360d1177ab877e73cd8577df9acff082'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/3f9e62ce043562d1e200e55cae3ded93'}],\n",
       "   'typecode': '050117',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '越秀区',\n",
       "   'name': '海底捞火锅(北京路店)',\n",
       "   'location': '113.269372,23.125498',\n",
       "   'tel': '020-83027255',\n",
       "   'shopid': [],\n",
       "   'id': 'B00141VVZW'},\n",
       "  {'parent': 'B00140T169',\n",
       "   'address': '北京路374号广州大厦3楼',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '70.00',\n",
       "    'opentime2': '07:30-21:30',\n",
       "    'rating': '4.0',\n",
       "    'open_time': '07:30-21:30',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;外国餐厅;西餐厅(综合风味)',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c0cd86e3c8357991a15958a836f64176'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/455b7cfb4b33f784087b3833ad8e6b6b'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/ab521281474a735997a6260380c4d5aa'}],\n",
       "   'typecode': '050201',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '越秀区',\n",
       "   'name': '聚谊阁西餐厅',\n",
       "   'location': '113.269414,23.128872',\n",
       "   'tel': '18925096940;020-83189888',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFFZD6YX'},\n",
       "  {'parent': 'B0FFF3UVIR',\n",
       "   'address': '海珠北路212号3号楼创鑫首层1号铺',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '24.00',\n",
       "    'opentime2': '07:30-21:00',\n",
       "    'rating': '4.4',\n",
       "    'open_time': '07:30-21:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0a3df98e50b89b562717621a6a962480'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/78471ccbe547541a075346c4fcfd9b30'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0fe698757208161b6b68b927811f7f10'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '越秀区',\n",
       "   'name': '都城快餐(海珠北店)',\n",
       "   'location': '113.258512,23.129936',\n",
       "   'tel': '020-83199060;020-83199069',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140USN7'}],\n",
       " 'status': '1',\n",
       " 'info': 'OK'}"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "r.json()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "1009e957",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "a15c3e8a",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "12465c51",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "f024d64f",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "8b7a44d6",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "a5f00f47",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "02a75218",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {},
   "toc_section_display": true,
   "toc_window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
